#include <iostream>
#include <queue>

using namespace std;

int main() {
  queue<int> q;
  q.emplace(5);
  q.push(8);
  while (!q.empty()) {
    cout << q.front() << endl;
    q.pop();
  }
  return 0;
}